package comone.javatwo;

public class Test1 {

    private String name;

    public Test1(String name) {
        this.name = name;
    }

    public Test1(){

    }

    static int  num;
    final static int Count_MAX=100;


    public void run(){
       if (num==Count_MAX){
           System.out.println("结束....");
       }else {
           System.out.println(this.name+"投递成功...");
           num++;
       }
    }



}
